package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.dto.DishDto;
import com.example.entity.Dish;
import org.springframework.transaction.annotation.Transactional;

public interface DishService extends IService<Dish> {

    //新增菜品，插入口味
    public void saveWithFlavor(DishDto dishDto);

    public DishDto getByIdWithFlavor(Long id);


    public void updateWithFlavor(DishDto dishDto);

    public void deleteWithFlavor(Long id);
}
